package cn.wolfcode.rbac.util;

import cn.wolfcode.rbac.query.CustomerReportQuery;

public class MessageUtil {
    public MessageUtil() {
    }

    public static String changMsg(CustomerReportQuery qo) {
        String msg = null;
        String var2 = qo.getGroupType();
        byte var3 = -1;
        switch(var2.hashCode()) {
            case -1279796292:
                if (var2.equals("DATE_FORMAT(c.input_time, '%Y')")) {
                    var3 = 0;
                }
                break;
            case -193598893:
                if (var2.equals("DATE_FORMAT(c.input_time, '%Y-%m-%d')")) {
                    var3 = 2;
                }
                break;
            case 18879581:
                if (var2.equals("DATE_FORMAT(c.input_time, '%Y-%m')")) {
                    var3 = 1;
                }
        }

        switch(var3) {
            case 0:
                msg = "年份";
                break;
            case 1:
                msg = "月份";
                break;
            case 2:
                msg = "日期";
                break;
            default:
                msg = "员工";
        }

        return msg;
    }
}
